//
//  YHGoodsViewController.m
//  YHGoods
//
//  Created by yanHu on 2024/4/13.
//

#import "YHGoodsViewController.h"
#import "YHGoodsHelper.h"
#import <Masonry/Masonry.h>

@interface YHGoodsViewController ()

@end

@implementation YHGoodsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = UIColor.redColor;
    self.title = @"商品title";
    
    UIImageView *imageView = [[UIImageView alloc] initWithImage:[YHGoodsHelper imageNamed:@"WechatIMG"]];
    [self.view addSubview:imageView];
    [imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(self.view);
    }];
    // 1Do any additional setup after loading the view.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
